﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using QuanLyThuoc.DAL;
namespace QuanLyThuoc.BUS
{
   public class NhomThuocBUS
    {
       private static readonly NhomThuocDAL nhom = new NhomThuocDAL();
       public static DataTable SelectAll_NhomThuoc()
       {
           return nhom.SelectAll_NhomThuoc();
       }
       public  static DataTable SelectID_NhomThuoc(string nhomthuoc)
       {
           return nhom.SelectID_NhomThuoc(nhomthuoc);
       }
       public static int InsertNhomThuoc(string nhomthuoc)
       {
           return nhom.InsertNhomThuoc(nhomthuoc);
       }
       public static int UpdateNhomThuoc(string nhomthuoc)
       {
           return nhom.UpdateNhomThuoc(nhomthuoc);
       }
       public int DeleteNhomThuoc(string nhomthuoc)
       {
           return nhom.DeleteNhomThuoc(nhomthuoc);
       }
    }
}
